package net.maku.express.biza.service.hourse.impl;

import net.maku.express.biza.service.hourse.HourseService;
import net.maku.framework.common.utils.Result;
import net.maku.system.controller.vo.HourseTypeResponseVO;
import net.maku.system.dao.ExpressWarehouseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author wenyignying'
 * @Description:
 * @Date
 */
@Service
public class HourseServiceImpl implements HourseService {

    @Autowired
    private ExpressWarehouseMapper expressWarehouseMapper;

    @Override
    public Result<List<HourseTypeResponseVO>> getData() {
        List<HourseTypeResponseVO> list = expressWarehouseMapper.selectType();
        return Result.ok(list);
    }
}
